import request from '@/utils/request.js'

export function getAll() {
  return request({
    url: `/store-in/getAll`,
    method: 'get'
  })
}

export function deleteByStid(data) {
  return request({
    url: `/store-in/deleteById?id=` + data.stid,
    method: 'delete',
  })
}

export function updateIsstoreByStid(data) {
  return request({
    url: `/store-in/storeIn?stID=` + data.stid,
    method: 'post',
  })
}